<!DOCTYPE HTML>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="content-script-type" content="text/javascript">
  <meta http-equiv="content-style-type" content="text/css">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta http-equivmetahttp-equiv="x-ua-compatible" content="IE=7">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <title>体育竞猜</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/hover.css">
  <link rel="stylesheet" href="./css/style.css">
</head>

<body>
    <template src="components/header.html" menu="sports"></template>
    <template src="components/scroll-text.html"></template>
  <div class="sports">
    <img class="pubimg" src="./img/sports/sports_bg.png" width="100%" alt="">
    <div class="max-auto layout-card" style="padding-top: 34%">
      <a href="#" class="layout-card-item hvr-float-shadow" data-index="01">
        <img src="./img/sports/item01.png" alt="">
      </a>
      <a href="#" class="layout-card-item hvr-float-shadow" data-index="02">
        <img src="./img/sports/item02.png" alt="">
      </a>
      <a href="#" class="layout-card-item hvr-float-shadow" data-index="03">
        <img src="./img/sports/item03.png" alt="">
      </a>
    </div>
  </div>
  <template src="components/footer.html"></template>
</body>

</html>
<script src="./js/jquery-1.8.3.min.js"></script>
<script src="./js/jquery.SuperSlide.2.1.1.js"></script>
<script src="./js/common.js"></script>
<script>
  $(function () {
    $(".layout-card-item").mouseenter(function () {
      var pic = $(this).attr('data-index')
      $(this).find('img').attr('src', './img/sports/item' + pic + 'h.png')
    }).mouseleave(function () {
      var pic = $(this).attr('data-index')
      $(this).find('img').attr('src', './img/sports/item' + pic + '.png')
    })
  })
</script>